Skip to content

Conversation

@Lujeni
Copy link

@Lujeni Lujeni commented Jan 12, 2026

What was changed

Added dev_server_ui_port parameter to WorkflowEnvironment.start_local() method to allow users to customize the UI port when starting a local Temporal dev server environment.

Why?

This feature allows users to specify a custom UI port when starting the dev server

Checklist

  1. Closes [Feature Request] Allow customization of dev server UI port #748

  2. How was this tested:

    • Test verifies that the server starts successfully with the configured UI port
  3. Any docs updates needed?

    • Parameter is already documented in the docstring of start_local() method
    • No additional README or external docs changes required as this is an internal testing feature

@Lujeni Lujeni requested a review from a team as a code owner January 12, 2026 22:21
ui_port_str = str(dev_server_ui_port)
extra_args_list = list(dev_server_extra_args)
if "--ui-port" not in extra_args_list:
# Prepend to extra_args so user-provided args can override if needed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is odd. You explicitly only even append the argument if it won't be overridden. I would either remove the comment or allow the argument to always be appended

Copy link
Contributor

@tconley1428 tconley1428 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of linting errors which would need to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Allow customization of dev server UI port

2 participants